package com.qf.pojo;

import lombok.Data;

import javax.persistence.*;

/**
 * @Author Zhy
 * Date on 2020/10/12  19:04
 * @description
 */
/*
### Workbench【接诊状态表】工作台-医生和患者关系

id,医生工号(外键),患者编号(外键),接诊状态(待接诊-接诊中-已完成),创建时间(由挂号到最后急诊完成变化),
属性1,属性2
id,empId,patientId,status,createTime,
attribute1,attribute2
 */
@Entity
@Data
@Table(name = "workbench")
public class Workbench {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    @Column(name = "empid")
    private String empId;
    @Column(name = "patientid")
    private String patientId;
    private String status;
    @Column(name = "createtime")
    private String createTime;
    private String attribute1;
    private String attribute2;
}
